package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 汇总销售出库单对象 t_oms_sumsaleissuebill
 *
 * @author wenyixiong
 * @date 2023-02-18
 */
public class OmsSumsaleissuebill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号", cellType = Excel.ColumnType.STRING, width = 20, needMerge = true)
    private String billnumber;

    /** 业务日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务日期", width = 30, dateFormat = "yyyy-MM-dd", needMerge = true)
    private Date bizdate;

    /** 库存组织编码 */
    @Excel(name = "库存组织编码", width = 20, needMerge = true)
    private String storageorgnumber;

    /** 库存组织名称 */
    @Excel(name = "库存组织名称", width = 20, needMerge = true)
    private String storageorgname;

    /** 业务类型编码 */
    @Excel(name = "业务类型编码", width = 20, needMerge = true)
    private String biztypenumber;

    /** 业务类型名称 */
    @Excel(name = "业务类型名称", width = 20, needMerge = true)
    private String biztypename;

    /** 事务类型编码 */
    @Excel(name = "事务类型编码", width = 20, needMerge = true)
    private String transactiontypenumber;

    /** 事务类型名称 */
    @Excel(name = "事务类型名称", width = 20, needMerge = true)
    private String transactiontypename;

    /** 送货客户编码 */
    @Excel(name = "送货客户编码", width = 20, needMerge = true)
    private String customernumber;

    /** 送货客户名称 */
    @Excel(name = "送货客户名称", width = 20, needMerge = true)
    private String customername;

    /** 记账公司编码 */
    @Excel(name = "记账公司编码", width = 20, needMerge = true)
    private String accountcompanynumber;

    /** 记账公司名称 */
    @Excel(name = "记账公司名称", width = 20, needMerge = true)
    private String accountcompanyname;

    /** 成本中心编码 */
    @Excel(name = "成本中心编码", width = 20, needMerge = true)
    private String costcenternumber;

    /** 成本中心名称 */
    @Excel(name = "成本中心名称", width = 20, needMerge = true)
    private String costcentername;

    /** 币别 */
    @Excel(name = "币别", width = 20, needMerge = true)
    private String currency;

    /** 汇率 */
    @Excel(name = "汇率", width = 20, needMerge = true)
    private BigDecimal exchangerate;

    /** 备注 */
    @Excel(name = "备注", width = 20, needMerge = true)
    private String description;

    /** 客户订单号 */
    @Excel(name = "客户订单号", width = 20, needMerge = true)
    private String customerorderno;

    /** 厂编 */
    @Excel(name = "厂编", width = 20, needMerge = true)
    private String factorymake;

    /** 是否外部客户 */
    @Excel(name = "是否外部客户", width = 20, needMerge = true)
    private Long isoutcustomer;

    /** 已传EAS */
    @Excel(name = "已传EAS", width = 20, needMerge = true)
    private String istrans;

    /** 传送日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "传送日期", width = 30, dateFormat = "yyyy-MM-dd", needMerge = true)
    private Date transtime;

    /** 失败原因 */
    @Excel(name = "失败原因", width = 20, needMerge = true)
    private String reason;

    @Excel(name = "创建时间", width = 20,dateFormat = "yyyy-MM-dd", needMerge = true)
    private Date createtime;

    /** 来源系统 */
    @Excel(name = "来源系统",needMerge = true)
    private String srcsys;

    /** 汇总销售出库单明细信息 */
    @Excel(name = "汇总分录")
    private List<OmsSumsaleissuebillentry> omsSumsaleissuebillentryList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBillnumber(String billnumber)
    {
        this.billnumber = billnumber;
    }

    public String getBillnumber()
    {
        return billnumber;
    }
    public void setBizdate(Date bizdate)
    {
        this.bizdate = bizdate;
    }

    public Date getBizdate()
    {
        return bizdate;
    }
    public void setStorageorgnumber(String storageorgnumber)
    {
        this.storageorgnumber = storageorgnumber;
    }

    public String getStorageorgnumber()
    {
        return storageorgnumber;
    }
    public void setStorageorgname(String storageorgname)
    {
        this.storageorgname = storageorgname;
    }

    public String getStorageorgname()
    {
        return storageorgname;
    }
    public void setBiztypenumber(String biztypenumber)
    {
        this.biztypenumber = biztypenumber;
    }

    public String getBiztypenumber()
    {
        return biztypenumber;
    }
    public void setBiztypename(String biztypename)
    {
        this.biztypename = biztypename;
    }

    public String getBiztypename()
    {
        return biztypename;
    }
    public void setTransactiontypenumber(String transactiontypenumber)
    {
        this.transactiontypenumber = transactiontypenumber;
    }

    public String getTransactiontypenumber()
    {
        return transactiontypenumber;
    }
    public void setTransactiontypename(String transactiontypename)
    {
        this.transactiontypename = transactiontypename;
    }

    public String getTransactiontypename()
    {
        return transactiontypename;
    }
    public void setCustomernumber(String customernumber)
    {
        this.customernumber = customernumber;
    }

    public String getCustomernumber()
    {
        return customernumber;
    }
    public void setCustomername(String customername)
    {
        this.customername = customername;
    }

    public String getCustomername()
    {
        return customername;
    }
    public void setAccountcompanynumber(String accountcompanynumber)
    {
        this.accountcompanynumber = accountcompanynumber;
    }

    public String getAccountcompanynumber()
    {
        return accountcompanynumber;
    }
    public void setAccountcompanyname(String accountcompanyname)
    {
        this.accountcompanyname = accountcompanyname;
    }

    public String getAccountcompanyname()
    {
        return accountcompanyname;
    }
    public void setCostcenternumber(String costcenternumber)
    {
        this.costcenternumber = costcenternumber;
    }

    public String getCostcenternumber()
    {
        return costcenternumber;
    }
    public void setCostcentername(String costcentername)
    {
        this.costcentername = costcentername;
    }

    public String getCostcentername()
    {
        return costcentername;
    }
    public void setCurrency(String currency)
    {
        this.currency = currency;
    }

    public String getCurrency()
    {
        return currency;
    }
    public void setExchangerate(BigDecimal exchangerate)
    {
        this.exchangerate = exchangerate;
    }

    public BigDecimal getExchangerate()
    {
        return exchangerate;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setCustomerorderno(String customerorderno)
    {
        this.customerorderno = customerorderno;
    }

    public String getCustomerorderno()
    {
        return customerorderno;
    }
    public void setFactorymake(String factorymake)
    {
        this.factorymake = factorymake;
    }

    public String getFactorymake()
    {
        return factorymake;
    }
    public void setIsoutcustomer(Long isoutcustomer)
    {
        this.isoutcustomer = isoutcustomer;
    }

    public Long getIsoutcustomer()
    {
        return isoutcustomer;
    }
    public void setIstrans(String istrans)
    {
        this.istrans = istrans;
    }

    public String getIstrans()
    {
        return istrans;
    }
    public void setTranstime(Date transtime)
    {
        this.transtime = transtime;
    }

    public Date getTranstime()
    {
        return transtime;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getSrcsys() {
        return srcsys;
    }

    public void setSrcsys(String srcsys) {
        this.srcsys = srcsys;
    }

    public List<OmsSumsaleissuebillentry> getOmsSumsaleissuebillentryList()
    {
        return omsSumsaleissuebillentryList;
    }

    public void setOmsSumsaleissuebillentryList(List<OmsSumsaleissuebillentry> omsSumsaleissuebillentryList)
    {
        this.omsSumsaleissuebillentryList = omsSumsaleissuebillentryList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billnumber", getBillnumber())
            .append("bizdate", getBizdate())
            .append("storageorgnumber", getStorageorgnumber())
            .append("storageorgname", getStorageorgname())
            .append("biztypenumber", getBiztypenumber())
            .append("biztypename", getBiztypename())
            .append("transactiontypenumber", getTransactiontypenumber())
            .append("transactiontypename", getTransactiontypename())
            .append("customernumber", getCustomernumber())
            .append("customername", getCustomername())
            .append("accountcompanynumber", getAccountcompanynumber())
            .append("accountcompanyname", getAccountcompanyname())
            .append("costcenternumber", getCostcenternumber())
            .append("costcentername", getCostcentername())
            .append("currency", getCurrency())
            .append("exchangerate", getExchangerate())
            .append("description", getDescription())
            .append("customerorderno", getCustomerorderno())
            .append("factorymake", getFactorymake())
            .append("createtime", getCreatetime())
            .append("isoutcustomer", getIsoutcustomer())
            .append("istrans", getIstrans())
            .append("transtime", getTranstime())
            .append("reason", getReason())
            .append("srcsys", getSrcsys())
            .append("omsSumsaleissuebillentryList", getOmsSumsaleissuebillentryList())
            .toString();
    }
}
